package demo.spring.securing;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Created by lushun.chen on 2017/4/16.
 *
 * @author lushun.chen
 */
@ConfigurationProperties(prefix = "security.config")
@Data
public class SecuritySettings {

    //退出成功时的链接
    private String logoutsuccessurl = "/logout";
    //允许访问的url列表
    private String permitall = "/api";
    //设定拒绝访问的信息提示链接
    private String deniedpage = "/deny";
    //权限管理规则，是链接地址与角色权限的配置列表
    private String urlroles;

}